package com.mes.cloud.api.dto.response.menu;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;

/**
 * 系统菜单
 *
 * @author wxm
 * @version 2019-07-30 13:55:22
 * @email xiaomin.wu1@pactera.com
 */
@Data
@ApiModel("系统菜单dto")
public class SysMenuDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键", required = false)
    private String id;

    @ApiModelProperty(value = "父节点ID", required = false)
    private String parentId;

    @ApiModelProperty(value = "编码", required = false)
    private String code;

    @ApiModelProperty(value = "sn", required = false)
    private String sn;

    @ApiModelProperty(value = "菜单名称", required = false)
    private String nameCn;

    @ApiModelProperty(value = "家族名称", required = false)
    private String familyNameCn;

    @ApiModelProperty(value = "菜单英文名称", required = false)
    private String nameUs;

    @ApiModelProperty(value = "菜单URL", required = false)
    private String url;

    @ApiModelProperty(value = "权限URL", required = false)
    private String authUrl;

    @ApiModelProperty(value = "菜单层级", required = false)
    private Integer level;

    @ApiModelProperty(value = "是否叶子节点", required = false)
    private Integer leafFlag;

    @ApiModelProperty(value = "排序", required = false)
    private Integer sort;

    @ApiModelProperty(value = "类型(1:菜单、2:按钮、3:子页、4:客户类型、5:客户tab)", required = false)
    private String type;

    @ApiModelProperty(value = "客户类型", required = false)
    private String customerType;

    @ApiModelProperty(value = "类型(1：PC、2：小程序、3：APP、4：公众号)", required = false)
    private String platform;

    @ApiModelProperty(value = "菜单图标", required = false)
    private String icon;

    @ApiModelProperty(value = "功能说明", required = false)
    private String description;

    @ApiModelProperty(value = "备注", required = false)
    private String remark;
    
    @ApiModelProperty(value = "状态(0：禁用，1：启用)", required = false)
    private String enableFlag;

    @ApiModelProperty(value = "创建人", required = false)
    private String createBy;

    @ApiModelProperty(value = "创建时间", required = false)
    private Date createTime;

    @ApiModelProperty(value = "更新人", required = false)
    private String updateBy;

    @ApiModelProperty(value = "更新时间", required = false)
    private Date updateTime;

    @ApiModelProperty(value = "删除标记，1：删除，0：未删除", required = false)
    private String delFlag;

    @ApiModelProperty(value = "更新日期", required = false)
    private String updateDateStr;

    @ApiModelProperty(value = "版本", required = false)
    private Integer version;

    @ApiModelProperty(value = "创建人工号", required = false)
    private String createByNo;

    @ApiModelProperty(value = "修改人工号", required = false)
    private String updateByNo;
}
